<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>支付设置</title>
    <link rel="stylesheet" href="<?=adminassets?>assets/pear/component/pear/css/pear.css" />
</head>

<body class="pear-container">


    <div class="layui-card layui-form" lay-filter="component-form-element" style="margin-top: 10px;">
        <div class="layui-card-header">支付配置</div>
        <div class="layui-card-body layui-row layui-col-space10">
            <form onsubmit="return saveSetting(this)" method="post" role="form">
                <div class="layui-col-md12">
                    <div class="layui-form-item">
                        <label class="layui-form-label">用户对接网址</label>
                        <div class="layui-input-block">
                            <input type="text" name="duijie_url" value="<?php echo $this->conf['duijie_url']; ?>" class="layui-input">
                        </div>
                    </div>
                </div>
                <div class="layui-col-md12">
                    <div class="layui-form-item">
                        <label class="layui-form-label">聚合收款</label>
                        <div class="layui-input-block">
                            <select name="juheshoukuan" default="">
                                <option value="1" <?= $this->conf['juheshoukuan'] == 1 ? "selected" : "" ?>>开启</option>
                                <option value="0" <?= $this->conf['juheshoukuan'] == 0 ? "selected" : "" ?>>关闭</option>
                            </select>
                        </div>
                    </div>
                </div>
                <div class="layui-col-md6">
                    <div class="layui-form-item">
                        <label class="layui-form-label">最大支付金额</label>
                        <div class="layui-input-block">
                            <input type="text" name="pay_maxmoney" value="<?php echo $this->conf['pay_maxmoney']; ?>" class="layui-input">
                        </div>
                    </div>
                </div>
                <div class="layui-col-md6">
                    <div class="layui-form-item">
                        <label class="layui-form-label">最小支付金额</label>
                        <div class="layui-input-block">
                            <input type="text" name="pay_minmoney" value="<?php echo $this->conf['pay_minmoney']; ?>" class="layui-input">
                        </div>
                    </div>
                </div>
                <div class="layui-col-md6">
                    <div class="layui-form-item">
                        <label class="layui-form-label">商品屏蔽关键词</label>
                        <div class="layui-input-block">
                            <input type="text" name="blockname" value="<?php echo $this->conf['blockname']; ?>" class="layui-input">
                        </div>
                    </div>
                </div>
                <div class="layui-col-md6">
                    <div class="layui-form-item">
                        <label class="layui-form-label">商品屏蔽显示内容</label>
                        <div class="layui-input-block">
                            <input type="text" name="blockalert" value="<?php echo $this->conf['blockalert']; ?>" class="layui-input">
                        </div>
                    </div>
                </div>
                <div class="layui-col-md12">
                    <div class="layui-form-item">
                        <label class="layui-form-label">测试/收款商户</label>
                        <div class="layui-input-block">
                            <input type="text" name="zero_pid" value="<?php echo $this->conf['zero_pid']; ?>" class="layui-input">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button type="submit" class="pear-btn pear-btn-primary">更新数据</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</body>
<script src="<?=adminassets?>assets/pear/component/layui/layui.js"></script>
<script src="<?=adminassets?>assets/pear/component/pear/pear.js"></script>
<script src="<?=adminassets?>assets/js/core_js/set.js?v=<?=time()?>"></script>